
<div id="login_form">
	{% if invalid_data %}
	<div> Podano błędne dane</div>
	{%endif%}
	<form method="post" action="/login/{{from_url}}">
		{% csrf_token %}
		{{ form.as_p }}
		<input type="submit" value="Log in">
	</form>
</div>